Optimal. Leaf size=357 \[ \frac{\sqrt [4]{b} \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} \left (3 \sqrt{a} e+\sqrt{b} c\right ) \text{EllipticF}\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right ),\frac{1}{2}\right )}{3 \sqrt [4]{a} \sqrt{a+b x^4}}-\frac{\sqrt{a+b x^4} \left (c-3 e x^2\right )}{3 x^3}-\frac{\sqrt{a+b x^4} \left (d-f x^2\right )}{2 x^2}+\frac{1}{2} \sqrt{b} d \tanh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a+b x^4}}\right )-\frac{2 e \sqrt{a+b x^4}}{x}+\frac{2 \sqrt{b} e x \sqrt{a+b x^4}}{\sqrt{a}+\sqrt{b} x^2}-\frac{2 \sqrt [4]{a} \sqrt [4]{b} e \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{\sqrt{a+b x^4}}-\frac{1}{2} \sqrt{a} f \tanh ^{-1}\left (\frac{\sqrt{a+b x^4}}{\sqrt{a}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.295318, antiderivative size = 357, normalized size of antiderivative = 1., number of steps used = 15, number of rules used = 14, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.467, Rules used = {1833, 1272, 1282, 1198, 220, 1196, 1252, 813, 844, 217, 206, 266, 63, 208} \[ -\frac{\sqrt{a+b x^4} \left (c-3 e x^2\right )}{3 x^3}+\frac{\sqrt [4]{b} \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} \left (3 \sqrt{a} e+\sqrt{b} c\right ) F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{3 \sqrt [4]{a} \sqrt{a+b x^4}}-\frac{\sqrt{a+b x^4} \left (d-f x^2\right )}{2 x^2}+\frac{1}{2} \sqrt{b} d \tanh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a+b x^4}}\right )-\frac{2 e \sqrt{a+b x^4}}{x}+\frac{2 \sqrt{b} e x \sqrt{a+b x^4}}{\sqrt{a}+\sqrt{b} x^2}-\frac{2 \sqrt [4]{a} \sqrt [4]{b} e \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{\sqrt{a+b x^4}}-\frac{1}{2} \sqrt{a} f \tanh ^{-1}\left (\frac{\sqrt{a+b x^4}}{\sqrt{a}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1833
Rule 1272
Rule 1282
Rule 1198
Rule 220
Rule 1196
Rule 1252
Rule 813
Rule 844
Rule 217
Rule 206
Rule 266
Rule 63
Rule 208
Rubi steps
\begin{align*} \int \frac{\left (c+d x+e x^2+f x^3\right ) \sqrt{a+b x^4}}{x^4} \, dx &=\int \left (\frac{\left (c+e x^2\right ) \sqrt{a+b x^4}}{x^4}+\frac{\left (d+f x^2\right ) \sqrt{a+b x^4}}{x^3}\right ) \, dx\\ &=\int \frac{\left (c+e x^2\right ) \sqrt{a+b x^4}}{x^4} \, dx+\int \frac{\left (d+f x^2\right ) \sqrt{a+b x^4}}{x^3} \, dx\\ &=-\frac{\left (c-3 e x^2\right ) \sqrt{a+b x^4}}{3 x^3}+\frac{1}{2} \operatorname{Subst}\left (\int \frac{(d+f x) \sqrt{a+b x^2}}{x^2} \, dx,x,x^2\right )-\frac{2}{3} \int \frac{-3 a e-b c x^2}{x^2 \sqrt{a+b x^4}} \, dx\\ &=-\frac{2 e \sqrt{a+b x^4}}{x}-\frac{\left (c-3 e x^2\right ) \sqrt{a+b x^4}}{3 x^3}-\frac{\left (d-f x^2\right ) \sqrt{a+b x^4}}{2 x^2}-\frac{1}{4} \operatorname{Subst}\left (\int \frac{-2 a f-2 b d x}{x \sqrt{a+b x^2}} \, dx,x,x^2\right )+\frac{2 \int \frac{a b c+3 a b e x^2}{\sqrt{a+b x^4}} \, dx}{3 a}\\ &=-\frac{2 e \sqrt{a+b x^4}}{x}-\frac{\left (c-3 e x^2\right ) \sqrt{a+b x^4}}{3 x^3}-\frac{\left (d-f x^2\right ) \sqrt{a+b x^4}}{2 x^2}+\frac{1}{2} (b d) \operatorname{Subst}\left (\int \frac{1}{\sqrt{a+b x^2}} \, dx,x,x^2\right )-\left (2 \sqrt{a} \sqrt{b} e\right ) \int \frac{1-\frac{\sqrt{b} x^2}{\sqrt{a}}}{\sqrt{a+b x^4}} \, dx+\frac{1}{3} \left (2 \sqrt{b} \left (\sqrt{b} c+3 \sqrt{a} e\right )\right ) \int \frac{1}{\sqrt{a+b x^4}} \, dx+\frac{1}{2} (a f) \operatorname{Subst}\left (\int \frac{1}{x \sqrt{a+b x^2}} \, dx,x,x^2\right )\\ &=-\frac{2 e \sqrt{a+b x^4}}{x}+\frac{2 \sqrt{b} e x \sqrt{a+b x^4}}{\sqrt{a}+\sqrt{b} x^2}-\frac{\left (c-3 e x^2\right ) \sqrt{a+b x^4}}{3 x^3}-\frac{\left (d-f x^2\right ) \sqrt{a+b x^4}}{2 x^2}-\frac{2 \sqrt [4]{a} \sqrt [4]{b} e \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{\sqrt{a+b x^4}}+\frac{\sqrt [4]{b} \left (\sqrt{b} c+3 \sqrt{a} e\right ) \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{3 \sqrt [4]{a} \sqrt{a+b x^4}}+\frac{1}{2} (b d) \operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{x^2}{\sqrt{a+b x^4}}\right )+\frac{1}{4} (a f) \operatorname{Subst}\left (\int \frac{1}{x \sqrt{a+b x}} \, dx,x,x^4\right )\\ &=-\frac{2 e \sqrt{a+b x^4}}{x}+\frac{2 \sqrt{b} e x \sqrt{a+b x^4}}{\sqrt{a}+\sqrt{b} x^2}-\frac{\left (c-3 e x^2\right ) \sqrt{a+b x^4}}{3 x^3}-\frac{\left (d-f x^2\right ) \sqrt{a+b x^4}}{2 x^2}+\frac{1}{2} \sqrt{b} d \tanh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a+b x^4}}\right )-\frac{2 \sqrt [4]{a} \sqrt [4]{b} e \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{\sqrt{a+b x^4}}+\frac{\sqrt [4]{b} \left (\sqrt{b} c+3 \sqrt{a} e\right ) \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{3 \sqrt [4]{a} \sqrt{a+b x^4}}+\frac{(a f) \operatorname{Subst}\left (\int \frac{1}{-\frac{a}{b}+\frac{x^2}{b}} \, dx,x,\sqrt{a+b x^4}\right )}{2 b}\\ &=-\frac{2 e \sqrt{a+b x^4}}{x}+\frac{2 \sqrt{b} e x \sqrt{a+b x^4}}{\sqrt{a}+\sqrt{b} x^2}-\frac{\left (c-3 e x^2\right ) \sqrt{a+b x^4}}{3 x^3}-\frac{\left (d-f x^2\right ) \sqrt{a+b x^4}}{2 x^2}+\frac{1}{2} \sqrt{b} d \tanh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a+b x^4}}\right )-\frac{1}{2} \sqrt{a} f \tanh ^{-1}\left (\frac{\sqrt{a+b x^4}}{\sqrt{a}}\right )-\frac{2 \sqrt [4]{a} \sqrt [4]{b} e \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{\sqrt{a+b x^4}}+\frac{\sqrt [4]{b} \left (\sqrt{b} c+3 \sqrt{a} e\right ) \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{3 \sqrt [4]{a} \sqrt{a+b x^4}}\\ \end{align*}
Mathematica [C] time = 0.301453, size = 205, normalized size = 0.57 \[ \frac{3 x \left (\sqrt{a} \sqrt{b} d x^2 \sqrt{\frac{b x^4}{a}+1} \sinh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a}}\right )-2 a e x \sqrt{\frac{b x^4}{a}+1} \, _2F_1\left (-\frac{1}{2},-\frac{1}{4};\frac{3}{4};-\frac{b x^4}{a}\right )-\sqrt{a} f x^2 \sqrt{a+b x^4} \tanh ^{-1}\left (\frac{\sqrt{a+b x^4}}{\sqrt{a}}\right )-a d+a f x^2-b d x^4+b f x^6\right )-2 a c \sqrt{\frac{b x^4}{a}+1} \, _2F_1\left (-\frac{3}{4},-\frac{1}{2};\frac{1}{4};-\frac{b x^4}{a}\right )}{6 x^3 \sqrt{a+b x^4}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.013, size = 362, normalized size = 1. \begin{align*}{\frac{f}{2}\sqrt{b{x}^{4}+a}}-{\frac{f}{2}\sqrt{a}\ln \left ({\frac{1}{{x}^{2}} \left ( 2\,a+2\,\sqrt{a}\sqrt{b{x}^{4}+a} \right ) } \right ) }-{\frac{c}{3\,{x}^{3}}\sqrt{b{x}^{4}+a}}+{\frac{2\,bc}{3}\sqrt{1-{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}\sqrt{1+{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}{\it EllipticF} \left ( x\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}},i \right ){\frac{1}{\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}}}}{\frac{1}{\sqrt{b{x}^{4}+a}}}}-{\frac{d}{2\,a{x}^{2}} \left ( b{x}^{4}+a \right ) ^{{\frac{3}{2}}}}+{\frac{bd{x}^{2}}{2\,a}\sqrt{b{x}^{4}+a}}+{\frac{d}{2}\sqrt{b}\ln \left ({x}^{2}\sqrt{b}+\sqrt{b{x}^{4}+a} \right ) }-{\frac{e}{x}\sqrt{b{x}^{4}+a}}+{2\,ie\sqrt{a}\sqrt{b}\sqrt{1-{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}\sqrt{1+{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}{\it EllipticF} \left ( x\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}},i \right ){\frac{1}{\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}}}}{\frac{1}{\sqrt{b{x}^{4}+a}}}}-{2\,ie\sqrt{a}\sqrt{b}\sqrt{1-{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}\sqrt{1+{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}{\it EllipticE} \left ( x\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}},i \right ){\frac{1}{\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}}}}{\frac{1}{\sqrt{b{x}^{4}+a}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{b x^{4} + a}{\left (f x^{3} + e x^{2} + d x + c\right )}}{x^{4}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{b x^{4} + a}{\left (f x^{3} + e x^{2} + d x + c\right )}}{x^{4}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 5.41421, size = 235, normalized size = 0.66 \begin{align*} \frac{\sqrt{a} c \Gamma \left (- \frac{3}{4}\right ){{}_{2}F_{1}\left (\begin{matrix} - \frac{3}{4}, - \frac{1}{2} \\ \frac{1}{4} \end{matrix}\middle |{\frac{b x^{4} e^{i \pi }}{a}} \right )}}{4 x^{3} \Gamma \left (\frac{1}{4}\right )} - \frac{\sqrt{a} d}{2 x^{2} \sqrt{1 + \frac{b x^{4}}{a}}} + \frac{\sqrt{a} e \Gamma \left (- \frac{1}{4}\right ){{}_{2}F_{1}\left (\begin{matrix} - \frac{1}{2}, - \frac{1}{4} \\ \frac{3}{4} \end{matrix}\middle |{\frac{b x^{4} e^{i \pi }}{a}} \right )}}{4 x \Gamma \left (\frac{3}{4}\right )} - \frac{\sqrt{a} f \operatorname{asinh}{\left (\frac{\sqrt{a}}{\sqrt{b} x^{2}} \right )}}{2} + \frac{a f}{2 \sqrt{b} x^{2} \sqrt{\frac{a}{b x^{4}} + 1}} + \frac{\sqrt{b} d \operatorname{asinh}{\left (\frac{\sqrt{b} x^{2}}{\sqrt{a}} \right )}}{2} + \frac{\sqrt{b} f x^{2}}{2 \sqrt{\frac{a}{b x^{4}} + 1}} - \frac{b d x^{2}}{2 \sqrt{a} \sqrt{1 + \frac{b x^{4}}{a}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{b x^{4} + a}{\left (f x^{3} + e x^{2} + d x + c\right )}}{x^{4}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]